<#include "overall_header.html">

						<table cellspacing="1">
							<thead>
								<tr>
									<th style="width: 25%;">${L("project.name")}</th>
									<th>${L("project.members")}</th>
									<th style="width: 12%; ">${L("project.create-time")}</th>
									<th style="width: 15%; text-align: center;">${L("global.operation")}</th>
								</tr>
							</thead>
							<tbody>
								<#if se_page.projects??><#list se_page.projects as project>
								<tr class="row<#if (project_index % 2) == 0>1<#else>2</#if>">
									<td>
										<a href="${sf_configs.root_path}/acp/projectview${sf_configs.extension}?id=${project.id}"><b>${project.name}</b></a>
										<p>${project.description}</p>
									</td>
									<td >
										<#if project.projectUsers??><#list project.projectUsers as projectUser>
										<a href="${sf_configs.root_path}/acp/userview${sf_configs.extension}?id=${projectUser.userId}">${projectUser.user.name}</a>
										<#if projectUser_has_next>, </#if>
										</#list></#if>
									</td>
									<td style="white-space: nowrap;"><span class="timestamp">${project.createTime?string("yyyy-MM-dd HH:mm")}</span></td>
									<td style="text-align: center;">
										<a href="${sf_configs.root_path}/acp/projectedit${sf_configs.extension}?id=${project.id}">${L("global.edit")}</a>
										<a href="${sf_configs.root_path}/acp/projectdelete${sf_configs.extension}?id=${project.id}">${L("global.delete")}</a>
									</td>
								</tr>
								</#list></#if>
							</tbody>
						</table>

<#include "overall_footer.html">